package com.zy.explore.wechat.domain.mongo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * description 示例Mongo实体类
 *
 * @author ZY
 * @date 2021年05月19日 00:13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "com.zy.explore.user")
public class MongoExampleEntity {

    private String id;

    private String name;

    private String address;

    private Date createTime;

    private Date updateTime;
}
